import s from './index.module.scss';

const Content = ({ content }) => {
  return (
    <div className={s.container}>
      <div className={s.top}>
        <div className={s.title}>{content.title}</div>
        <div className={s.all_btn}>查看全部</div>
      </div>
      <content.component data={content.data} />
    </div>
  );
};

export default Content;
